package com.molichuxing.services.infrastructure.dao;

import com.molichuxing.framework.dao.RootMapper;
import com.molichuxing.services.infrastructure.bean.EsignAccountBean;
import org.apache.ibatis.annotations.Param;

/**
 * <p>
 * 签章 Mapper 接口
 * </p>
 *
 * @author zhaopenghui
 * @since 2019-10-08
 */
public interface EsignAccountMapper extends RootMapper<EsignAccountBean> {

    /**
     * 根据用户姓名身份证号查询
     *
     * @param name
     * @param idNumber
     * @return
     */
    EsignAccountBean getEsignByNameAndIdNumber(@Param("name") String name, @Param("idNumber") String idNumber);

    /**
     * 通过idNumber修改
     *
     * @param bean
     * @return
     */
    int modifyByIdNumber(EsignAccountBean bean);

}